const koaRouter = require("koa-router");

const projectDetailsBranch = new koaRouter({ prefix: "/projectDetailsBranch" });
const { VerifyCreateBranchProjectInput } = require("../middleware/projectDetailsBranchController.middleware");
const { createBranchProject, getBranchProjectByPage ,getBranchProjectById} = require("../controller/projectDetailsBranchController");
projectDetailsBranch.post("/createBranchProject", VerifyCreateBranchProjectInput, createBranchProject);
projectDetailsBranch.get("/getBranchProjectByPage", getBranchProjectByPage);
projectDetailsBranch.get("/getBranchProjectById", getBranchProjectById);

// projectDetailsBranch.post("/createPeople", VerifyCreatePeopleInput,createPeople);
module.exports = projectDetailsBranch;